package spec.tianjunxiu.unit4.task4_2;

public class Customer1 {
    private int userID;
    public String userName;
    private char sex;
    protected String phone;
    private String homePhone;
    private String email;
    private String qq;
    private String careID;
    private String address;

    public Customer1() {
        System.out.println("这是客户类构造方法！");
    }

    public Customer1(int userID, String userName, char sex, String phone, String homePhone, String email, String qq, String careID, String address) {
        System.out.println("这是带参数的客户构造方法！");
        this.userID = userID;
        this.userName = userName;
        this.sex = sex;
        this.phone = phone;
        this.homePhone = homePhone;
        this.email = email;
        this.qq = qq;
        this.careID = careID;
        this.address = address;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public char getSex() {
        return sex;
    }

    public void setSex(char sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getHomePhone() {
        return homePhone;
    }

    public void setHomePhone(String homePhone) {
        this.homePhone = homePhone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getCareID() {
        return careID;
    }

    public void setCareID(String careID) {
        this.careID = careID;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public void showUserName(){
        System.out.println("客户的姓名："+userName);

    }
}
